package demo;

public class Maker {
    public void make(Food food) {
        System.out.println("开始做"+food.toString());
    }

    public Boolean getInfo(Food food) {
        if("板面".equals(food.getName())){
            return true;
        }else if("盖浇饭".equals(food.getName())){
            return true;
        }else{
            return false;
        }
    }
}
